package com.itheima.mapper;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingMapper {
    public long findByDate(Date orderDate);
    public void updateByDate(OrderSetting orderSetting);
    public void save(OrderSetting orderSetting);
    public List<OrderSetting> getOrderSettingByDate(Map<String,String> map);
    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);
    //根据预约日期查询预约设置信息
    public OrderSetting findByOrderDate(Date orderDate);
}
